package com.zbkj.crmeb.chant.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.List;

/**
 * 推送渠道商品
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ProductPushRequest对象", description="推送渠道商品")
public class ProductPushRequest implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 推送方式(0:批量推送; 1:全部推送)
     */
    @ApiModelProperty(value = "推送方式(0:批量推送; 1:全部推送)")
    private Integer type;

    /**
     * 批量推送参数
     */
    @ApiModelProperty(value = "批量推送参数")
    private List<BatchPushRequest> batchPushParam;

    /**
     * 全部批量推送参数
     */
    @ApiModelProperty(value = "全部批量推送参数")
    private ChannelProductRequest allPushParam;

    /**
     * 渠道id
     */
    @ApiModelProperty(value = "渠道id")
    private Integer channelId;
}
